/*  package com.by.validate;

import com.by.pojo.Air;
import org.springframework.stereotype.Component;
import org.springframework.validation.Errors;
import org.springframework.validation.Validator;
@Component
public class AirValidator implements Validator {
    @Override
    public boolean supports(Class<?> aClass) {
        return Air.class.equals(aClass);
    }

  @Override
    public void validate(Object target, Errors errors) {
Air air= (Air) target;
if ()
    }
}*/
